\[ I( A)=  \frac{1}{| A |^2} \sum_{ (x,y) \in A \times A }  T_d(x,y)   \]